import 'package:equatable/equatable.dart';
import 'package:website.home.account/purchase_management_fragment/domain/entites/app_store_purchased_item_model.dart';
import 'package:website.home.account/purchase_management_fragment/domain/entites/one_time_purchased_item_model.dart';

class AppStoreOneTimePurchasedItemModel extends Equatable
    implements OneTimePurchasedItemModel, AppStorePurchasedItemModel {
  const AppStoreOneTimePurchasedItemModel({
    required this.purchaseItemSku,
    required this.transactionId,
    required this.revoked,
  });

  @override
  final String purchaseItemSku;

  final String transactionId;
  final bool revoked;

  @override
  List<Object?> get props {
    return [
      purchaseItemSku,
      transactionId,
      revoked,
    ];
  }
}
